<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<div class="title">
	<s:a href="/manager/msgList.html" cssClass="parent fl"><s:text name="manager.msgList.title" /></s:a>
	<s:label cssClass="parent fl"  value=">" />
	<s:label cssClass="current fl" key="manager.msgAdd.title" />
	<s:if test="fromUrl == '' || fromUrl == null">
		<s:a href="/manager/msgList.html" cssClass="back fr">
			[<s:text name="common.button.back" />]
		</s:a>
	</s:if>
	<s:else>
		<s:a href="%{fromUrl}" cssClass="back fr">
			[<s:text name="common.button.back" />]
		</s:a>
	</s:else>
	<div class="clear"></div>
	<hr class="title" />
</div>
<s:form action="/manager/doMsgAdd.html" method="post" theme="simple">
	<s:token />
	<div>
		<div class="table">
			<%-- 页面提示信息 --%>
			<div class="row">
				<div class="cell-label"></div>
				<div class="cell-text fieldError h30">
					<s:actionerror />
				</div>
			</div>
			<%-- 信息内容 --%>
			<div class="row">
				<div class="cell-label"><s:text name="manager.msgList.msgContent" />:</div>
				<div class="cell-text">
					<s:textarea name="msgDetailBean.msgContent" cssClass="w240 h60" />
				</div>
				<div class="fieldError w300">
					<s:fielderror fieldName="msg.msgContent" />
				</div>
			</div>
			<%-- 按钮 --%>
			<div class="row">
				<div class="cell-label"></div>
				<div class="cell-button">
					<s:submit name="save" method="save" key="common.button.submit" cssClass="button3" />
				</div>
			</div>
		</div>
		<div class="clear"></div>
	</div>
</s:form>